//
//  RPCService.Remote.swift
//  Center_RPC
//
//  Created by Flutter on 2021/7/12.
//

import Foundation
import Storage

extension RPCService {
    struct Remote: Codable {
        let host: String
        let port: Int
        let cert: String
        let trustHost: String

        init(host: String, port: Int, cert: String, trustHost: String) {
            self.host = host
            self.port = port
            self.cert = cert
            self.trustHost = trustHost
        }
    }
}

extension RPCService.Remote: CodableStorable {}

